<!doctype html>
<html lang = "en">
    
<head>
    <meta charset="UTF-8">
    <title>表格</title>
</head>
<body>
    <h3>学生信息表</h3>
    <table border="3"><!--border属于table-->
        <caption>
            学生信息表
        </caption>
        <thead>
            表头
        </thead>
        <tbody>

        
        <tr align="center">
            <th>姓名</th>
            <th>性别</th>
            <th>年龄</th>
        </tr>
        <tr>
            <td>张三</td>
            <td>男</td>
            <td>18</td>
        </tr>
        <tr>
            <td>里斯</td>
            <td>女</td>
            <td>20</td>
        </tr>
        </tbody>
        <tfoot>
            <td>共计</td>
            <td>3</td>
            <td>人</td>
        </tfoot>
    </table>
</body>
<html>